package com.bw.z.mvp.di;

import com.bw.z.mvp.contract.RegisterContract;
import com.bw.z.mvp.model.RegisterModel;

import dagger.Module;
import dagger.Provides;

@Module
public class RegisterModules {
    private RegisterContract.registerView view;

    public RegisterModules(RegisterContract.registerView view) {
        this.view = view;
    }

    @Provides
    public RegisterContract.registerView providerView() {
        return view;
    }

    @Provides
    public RegisterContract.registerModel providerModel(RegisterModel model) {
        return model;
    }
}
